package com.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.entity.sys.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 对应数据库中表中的字段
 * </p>
 *
 * @author clay
 * @since 2022-03-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_leave")
@ApiModel(value="Leave对象", description="")
public class Leave extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "请假员工")
    private String userId;

    @ApiModelProperty(value = "部门id，冗余字段")
    private String departmentId;

    @ApiModelProperty(value = "原因；病假，事假，休假，调休，婚假，丧假，其它")
    private String reason;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "请假详情")
    private String remark;

    @ApiModelProperty(value = "0待审核，1通过，2不通过")
    private String leaderState;

    @ApiModelProperty(value = "领导备注")
    private String leaderRemark;

    @ApiModelProperty(value = "审核人")
    private String leaderId;


}
